package com.buyouchina.service.product;

import java.util.List;

import com.buyouchina.bean.privilege.User;
import com.buyouchina.bean.product.Outlets;
import com.buyouchina.service.base.DAO;

public interface OutletsService extends DAO<Outlets> {

	/**
	 * 查询店长管理的店铺列表
	 * 
	 * @param managerid
	 *            店长id
	 * 
	 * */
	public List<Outlets> list(Integer managerid);

	public Integer getRecordCount(Integer pid, Integer epid);

	public List<Outlets> list(int firstResult, int maxResults, Integer pid,
			Integer epid);

	/**
	 * 按区域区间查询店铺
	 * 
	 * @param pid
	 *            区域id
	 * @param epid
	 *            区域区间结束id
	 * */
	public List<Outlets> listByArea(Integer pid, Integer epid,User user);
}
